package com.rill.dao;

import java.util.List;

import com.rill.pojo.po.RoleInfo;

/**
 * @author rill
 * @date 2010-7-15
 */

public interface RoleDAO {
	public List<RoleInfo>getRoleList();
	
	public RoleInfo getRoleById(int id);
	public RoleInfo addRole(RoleInfo roleInfo);
	public RoleInfo updateRole(RoleInfo roleInfo);
	
	public void testRole(String name);
}

